Optimal. Leaf size=76 \[ a^5 c^4 \log (x)-3 a^4 b c^4 x+a^3 b^2 c^4 x^2+\frac {2}{3} a^2 b^3 c^4 x^3-\frac {3}{4} a b^4 c^4 x^4+\frac {1}{5} b^5 c^4 x^5 \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {75} \begin {gather*} a^3 b^2 c^4 x^2+\frac {2}{3} a^2 b^3 c^4 x^3-3 a^4 b c^4 x+a^5 c^4 \log (x)-\frac {3}{4} a b^4 c^4 x^4+\frac {1}{5} b^5 c^4 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 75
Rubi steps
\begin {align*} \int \frac {(a+b x) (a c-b c x)^4}{x} \, dx &=\int \left (-3 a^4 b c^4+\frac {a^5 c^4}{x}+2 a^3 b^2 c^4 x+2 a^2 b^3 c^4 x^2-3 a b^4 c^4 x^3+b^5 c^4 x^4\right ) \, dx\\ &=-3 a^4 b c^4 x+a^3 b^2 c^4 x^2+\frac {2}{3} a^2 b^3 c^4 x^3-\frac {3}{4} a b^4 c^4 x^4+\frac {1}{5} b^5 c^4 x^5+a^5 c^4 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 70, normalized size = 0.92 \begin {gather*} \frac {1}{60} c^4 \left (60 a^5 \log (-b c x)+113 a^5-180 a^4 b x+60 a^3 b^2 x^2+40 a^2 b^3 x^3-45 a b^4 x^4+12 b^5 x^5\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x) (a c-b c x)^4}{x} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.05, size = 70, normalized size = 0.92 \begin {gather*} \frac {1}{5} \, b^{5} c^{4} x^{5} - \frac {3}{4} \, a b^{4} c^{4} x^{4} + \frac {2}{3} \, a^{2} b^{3} c^{4} x^{3} + a^{3} b^{2} c^{4} x^{2} - 3 \, a^{4} b c^{4} x + a^{5} c^{4} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.10, size = 71, normalized size = 0.93 \begin {gather*} \frac {1}{5} \, b^{5} c^{4} x^{5} - \frac {3}{4} \, a b^{4} c^{4} x^{4} + \frac {2}{3} \, a^{2} b^{3} c^{4} x^{3} + a^{3} b^{2} c^{4} x^{2} - 3 \, a^{4} b c^{4} x + a^{5} c^{4} \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 71, normalized size = 0.93 \begin {gather*} \frac {b^{5} c^{4} x^{5}}{5}-\frac {3 a \,b^{4} c^{4} x^{4}}{4}+\frac {2 a^{2} b^{3} c^{4} x^{3}}{3}+a^{3} b^{2} c^{4} x^{2}+a^{5} c^{4} \ln \relax (x )-3 a^{4} b \,c^{4} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.07, size = 70, normalized size = 0.92 \begin {gather*} \frac {1}{5} \, b^{5} c^{4} x^{5} - \frac {3}{4} \, a b^{4} c^{4} x^{4} + \frac {2}{3} \, a^{2} b^{3} c^{4} x^{3} + a^{3} b^{2} c^{4} x^{2} - 3 \, a^{4} b c^{4} x + a^{5} c^{4} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 70, normalized size = 0.92 \begin {gather*} \frac {b^5\,c^4\,x^5}{5}+a^5\,c^4\,\ln \relax (x)-\frac {3\,a\,b^4\,c^4\,x^4}{4}+a^3\,b^2\,c^4\,x^2+\frac {2\,a^2\,b^3\,c^4\,x^3}{3}-3\,a^4\,b\,c^4\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 78, normalized size = 1.03 \begin {gather*} a^{5} c^{4} \log {\relax (x )} - 3 a^{4} b c^{4} x + a^{3} b^{2} c^{4} x^{2} + \frac {2 a^{2} b^{3} c^{4} x^{3}}{3} - \frac {3 a b^{4} c^{4} x^{4}}{4} + \frac {b^{5} c^{4} x^{5}}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________